﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;

namespace WcfMail.Interface
{
    /// <summary>
    /// 命令解析器接口
    /// </summary>
    interface IResolveCommand
    {
        /// <summary>
        /// 根据消息，得到处理该消息的命令对象
        /// </summary>
        /// <param name="message">消息</param>
        /// <returns>命令对象</returns>
        ICommand Parse(ISysMsg message);
    }
}
